<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!--
Zeke Elder - zbe@andrew.cmu.edu
Amal Chemmany - achemman@andrew.cmu.edu
Nishant Kumar - nkumar1@andrew.cmu.edu
15-637
4/2/2012
-->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html>
<head>
<title>Welcome to FitHub!</title>
<c:if test="${user == null}">
	<c:redirect url="welcome.jsp" />
</c:if>
<link href="css/groups.css" type="text/css" rel="stylesheet">
</head>

<body>
	<div id="maindiv" class="colorbox_container">
		<table>
			<c:forEach var="error" items="${errors}">
				<tr>
					<h3 style="color: red">${error}</h3>
				</tr>
			</c:forEach>
		</table>
		<div class="centered_div">
			<form name="commentAddForm" id="commentAddForm"
				action="createComment.do" method="post">
				<table>
					<tbody>

						<tr>
							<td colspan="4" align="center"><h1>Create New Comment</h1></td>
						</tr>
						<tr>
							<td colspan="4"><textarea id="comment" name="comment"
									cols="50" rows="5"></textarea></td>
						</tr>
						<input type="hidden" name="postId" id="postId" value="${postId}" />
						<tr>
							<td colspan="4" class="form_submit"><input type="submit"
								value="Create" /></td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
</body>
</html>